
libra_home=`pwd`;
echo "Installing Libra ...."



echo "Setting LIBRA_HOME variable"
if [ "`grep 'LIBRA_HOME' ~/.profile`" = "" ]; then \
echo "export LIBRA_HOME=$libra_home" >> ~/.profile; 
export LIBRA_HOME=$libra_home
else
echo "LIBRA_HOME exists in $HOME/.profile, make sure that it is set correctly" 
fi

echo "Copying libra run-file into /usr/local/bin"
chmod +x scripts/libra
cp scripts/libra /usr/local/bin/

echo ""
echo "To use Libra copy and paste the following command, or open another terminal:"
echo "export LIBRA_HOME=$libra_home" 
